package soul.domain.code;

/**
 * Created by sunzhengjie on 2016/11/21.
 */
public enum Status {

    Ok(10000,"ok"),
    fail(20000,"fail");

    private int code;

    private String msg;

    Status(int code, String msg){
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
